<?php
	
	session_start();
	$message = "";
	$error = $_GET['error'];
	if($error == 9){
		$message = "You are not the leader of this midweek. Redirecting back to the main page in 5 seconds.";
	} else {
		header('Location: index.php');
	}

	require("header+logoutB.php");
	headerL();
	
	echo "<html>
<head>
	<title>Error</title>
	<meta http-equiv='refresh' content='5; URL=index.php'>
</head>

<body>$message </body><html>";





?>